import { http } from '@/utils/http/axios';

/**
 * @description: 获取二维码列表
 */
export function qrcodelist(params) {
    return http.request({
      url: '/device/qrcodelist',
      method: 'GET',
      params
    });
}

/**
 * @description: 批量生成二维码
 */
export function qrcodeadd(params) {
  return http.request({
    url: '/device/qrcodeadd',
    method: 'GET',
    params
  });
}

/**
 * 导出二维码
 */
export function getQrcodeExport(params){
  return http.request({
    url: '/device/qrcodeexport',
    method: 'GET',
    params
  });
}

export function getbase641(params){
  return http.request({
    url:'/device/getbase641',
    method: 'POST',
    params
  })
}